<!DOCTYPE html>
<html ng-app="iotgo">
<head>
  <title>IoTgo - Open Source IoT Platform</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="icon" type="image/png" href="favicon.png" sizes="192x192">
  <link rel='stylesheet'
        href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono'>
  <link rel="stylesheet"
        href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  <link rel="stylesheet"
        href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css">
  <link rel="stylesheet"
        href="bower_components/fontawesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="bower_components/angular/angular-csp.css">
  <link rel="stylesheet"
        href="bower_components/revolunet-angular-carousel/dist/angular-carousel.min.css">
  <link rel="stylesheet"
        href="bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
  <link rel="stylesheet" href="iotgo.css">
</head>
<body class="iotgo">
<div ng-controller="NavCtrl" class="navbar navbar-default">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed"
              data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/">IoTgo</a>
    </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav iotgo-menu">
        <li><a href="/about">About</a></li>
        <li><a href="/guide">Guide</a></li>
        <li><a href="/api">API Reference</a></li>
        <li><a href="/hardware">Hardware Reference</a></li>
        <li><a href="/solution">Solution</a></li>
        <li><a href="/contact">Contact Us</a></li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li ng-show="isLoggedIn()"><a href="/devices">Devices</a></li>
        <li ng-show="isLoggedIn()"><a href="/profile">Profile</a></li>
        <li ng-show="isLoggedIn()"><a ng-click="logout()" href="/logout">Log out</a></li>
        <li ng-hide="isLoggedIn()"><a href="/login">Log in</a></li>
        <li ng-hide="isLoggedIn()"><a href="/signup">Sign up</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="container" ng-controller="TipCtrl">
    <div class="alert alert-warning alert-dismissible" role="alert" id="checkActiveDiv" style="display: none;">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                aria-hidden="true">&times;</span></button>
        Please go to your inbox to confirm your email account first! <span id="checkActiveSpan" style="display:none;">If you do not receive an e-mail, please click <a
            class="alert-link" ng-click="hideSpan()">resend the activation email</a></span>
    </div>
</div>

<div class="container main" ng-view></div>

<div class="footer">
  <div class="about">
    <div class="container">
      <div class="col-md-4">
        <h3>About IoTgo</h3>
        <p>IoTgo is an open source IoT platform, like WordPress, ZenCart
          and all other open source software, you can deploy your own IoTgo
          cloud platform.</p>
        <p>ITEAD Studio is committed to provide a complete set of hardware
          for the cloud platform with open source hardware designs and open
          source firmware code.</p>
      </div>
      <div class="col-md-4">
        <h3>Resources</h3>
        <ul>
          <li><a href="/about">About</a></li>
          <li><a href="/guide">Guide</a></li>
          <li><a href="/api">API Reference</a></li>
          <li><a href="/hardware">Hardware Reference</a></li>
          <li>
            <a href="https://github.com/itead/IoTgo/archive/master.zip"
              target="_blank">Download source code</a>
          </li>
        </ul>
      </div>
      <div class="col-md-4">
        <h3>About ITEAD</h3>
        <p>ITEAD Studio is a hardware innovation platform for makers to grow
          inspirations into differentiating products. Our goal is to make
          innovation easier.</p>
        <p>We offer a variety of open source hardware for developers to
          reduce the difficulty of prototyping and development time. We help
          developers design, produce and sell their products.</p>
      </div>
    </div>
  </div>
  <div class="copyright">
    <div class="container">
      <div class="col-sm-3">
        <div class="text-left logo-grey">IoTgo</div>
      </div>
      <div class="col-sm-6">
        <div class="text-center">
          &copy; 2014 ITEAD Intelligent Systems Co. Ltd
        </div>
      </div>
      <div class="col-sm-3">
        <div class="text-right">
          <a href="http://www.facebook.com/pages/ITead-Studio/248984101795699"
             target="_blank">
            <span class="fa fa-lg fa-facebook-square"></span>
          </a>
          <a href="https://twitter.com/Iteadstudio" target="_blank">
            <span class="fa fa-lg fa-twitter-square"></span>
          </a>
          <a href="https://plus.google.com/+Iteadstudio" target="_blank">
            <span class="fa fa-lg fa-google-plus-square"></span>
          </a>
          <a href="https://github.com/itead" target="_blank">
            <span class="fa fa-lg fa-github-square"></span>
          </a>
        </div>
      </div>
    </div>
  </div>
</div>


<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<script src="bower_components/angular-resource/angular-resource.min.js"></script>
<script src="iotgo.js"></script>
<script src="services/settings.js"></script>
<script src="services/user.js"></script>
<script src="services/devices.js"></script>
<script src="services/auth-interceptor.js"></script>
<script src="services/websocket.js"></script>
<script src="filters/type-to-image.js"></script>
<script src="filters/type-to-html.js"></script>
<script src="controllers/index.js"></script>
<script src="controllers/nav.js"></script>
<script src="controllers/login.js"></script>
<script src="controllers/signup.js"></script>
<script src="controllers/profile.js"></script>
<script src="controllers/devices.js"></script>
<script src="controllers/tip.js"></script>

<!-- Google reCAPTCHA -->
<script src='https://www.google.com/recaptcha/api.js'></script>
<script src="directive/grecaptcha.js"></script>

<!-- Carousel Slideshow -->
<script src="bower_components/angular-touch/angular-touch.min.js"></script>
<script
  src="bower_components/revolunet-angular-carousel/dist/angular-carousel.min.js"></script>

<!-- Datetime Picker -->
<script src="bower_components/moment/min/moment.min.js"></script>
<script
  src="bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
</body>
</html>